'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
/*  const { router, controller } = app;
  router.get('/', controller.home.index);*/

 // let middleWare=app.middlewares.gzip({ threshold: 1024 });

  const { router, controller } = app;
  app.logger.info(controller)
  app.get("/",controller.home.index);

    //app.logger.info(app.router)
  app.get("/page1",controller.home.page);
  app.get("/user",controller.home.user);
};
